﻿<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net8.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
    </PropertyGroup>

    <ItemGroup>
      <PackageReference Include="AutoMapper" Version="13.0.1" />
      <PackageReference Include="FluentValidation" Version="11.9.1" />
      <PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
      <PackageReference Include="MediatR" Version="12.2.0" />
      <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.5" />
      <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.5" />
      <PackageReference Include="MongoDB.Driver" Version="2.25.0" />
    </ItemGroup>

    <ItemGroup>
      <ProjectReference Include="..\GamFi.API.Domain\GamFi.API.Domain.csproj" />
    </ItemGroup>

    <ItemGroup>
      <Compile Remove="Features\Queries\Profile\PatchUpdateUserInfo\PatchUpdateUserInfoCommandHandler.cs" />
      <Compile Remove="Contracts\Profile\PatchUpdateUserInfo\PatchUpdateUserInfoResponse.cs" />
      <Compile Remove="Contracts\Profile\PostLogin\PostLoginResponse.cs" />
    </ItemGroup>

    <ItemGroup>
      <EmbeddedResource Update="Resources\ExceptionMessages.ru.resx">
        <Generator>ResXFileCodeGenerator</Generator>
        <LastGenOutput>ExceptionMessages.ru.Designer.cs</LastGenOutput>
      </EmbeddedResource>
      <EmbeddedResource Update="Resources\ExceptionMessages.en.resx">
        <Generator>ResXFileCodeGenerator</Generator>
        <LastGenOutput>ExceptionMessages.en.Designer.cs</LastGenOutput>
      </EmbeddedResource>
    </ItemGroup>

    <ItemGroup>
      <Folder Include="Contracts\Purchase\" />
      <Folder Include="Features\Queries\Purchase\" />
    </ItemGroup>

</Project>
